import qs from "qs";

const getters = {
    token: state => state.user.token,
    user: state => state.user.user ? qs.parse(state.user.user) : undefined
}

export default getters
